<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateViewServicesTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		echo "Migrating view_services...\n";
		Schema::create('view_services', function($table){
			$table->increments('pk');
			$table->string('title');
			$table->string('subtitle')->nullable();
			$table->text('text');
			$table->string('optional');
			$table->timestamps();
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		echo "Rolling back view_services...\n";
		Schema::drop('view_services');
	}

}
